package org.linlinjava.litemall.admin.dto;

import java.math.BigDecimal;

/**
 * Author tony
 * Description //TODO
 * Date 2020/10/23 20:11
 */
public class MaterialVO {
    private Integer id;
    private String code;
    private String name;
    private String unit;
    private BigDecimal amount;
    private BigDecimal price;
    private BigDecimal totalPrice;

    @Override
    public String toString() {
        return "MaterialVO{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", amount=" + amount +
                ", unit=" + unit +
                ", price=" + price +
                ", totalPrice=" + totalPrice +
                '}';
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
